<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>
<ul>
    all:{% for book in books %}
        <li>{{ book.btitle }}-{{ book.bread }}-{{ book.bcommet }}</li>
    {% endfor %}
</ul>
<ul>
    exact:{% for book in exact %}
        <li>{{ book.btitle }}-{{ book.bread }}-{{ book.bcommet }}</li>
    {% endfor %}
</ul>
<ul>
    herolist:{% for hero in herolist %}
        <li>{{ hero.hname }}-{{ hero.hcontent }}-{{ hero.hbook }}</li>
    {% endfor %}
</ul>
<ul>
    herovalue:{% for foo in herovalude %}
        {{ foo }}
    {% endfor %}
</ul>

<p>
    get:{{ test1.btitle }}-{{ test1.bread }}
</p>
<p>
    count:{{ count }}
</p>
<p>
    first:{{ first.btitle }}
</p>
<p>
    last:{{ last.btitle }}
</p>
<p>
    contain:{{ contain }}
</p>
<p>
    exclude:{{ exclude }}
</p>
<p>
    endswith:{{ endswith }}
</p>
<p>
    startswith:{{ startswith }}
</p>
<p>
    isnull:{{ isnull }}
</p>
<p>
    s_in:{{ s_in }}
</p>
<p>
    gt:{{ gt }}
</p>
<p>
    year:{{ year }}
</p>
<p>
    dategt:{{ dategt }}
</p>
<p>
    twotable:{% for foo in twotable %}
        {{ foo.btitle }}
    {% endfor %}
</p>
<p>
    maxdate:{{ maxdate }}
</p>
<p>
    aggr_count:{{ aggr_count }}
</p>
<p>
    f1:{% for foo in f1 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<p>
    f2:{% for foo in f2 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<p>
    f3:{% for foo in f3 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<p>
    f4:{% for foo in f4 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<p>
    q1:{% for foo in q1 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<p>
    q2:{% for foo in q2 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<p>
    q3:{% for foo in q3 %}
        {{ foo.btitle }}-{{ foo.bread }}-{{ foo.bcommet }}
    {% endfor %}
</p>
<ul>
    { %for a in area.areainfo_set.all%}
    <li>{{a.atitle}}</li>
    { %endfor%}
</ul>
</body>
</html>